package com.felix.jenkins.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * program: jenkins
 * description:
 * author: Mr.Yiu
 * create: 2021-04-30 11:21
 **/
@RestController
public class UserController {

    @RequestMapping("/login")
    public String login(){
        return "login";
    }

    @RequestMapping("/logout")
    public String logout(){
        return "logout,退出啦";
    }

    @RequestMapping("/hi")
    public String hi(){
        return "hi,auto构建";
    }
}
